source "helpers.tcl"
read_lef Nangate45/Nangate45.lef
read_liberty Nangate45/Nangate45_typ.lib
read_def "16sinks.def"

create_clock -period 5 clk

set_wire_rc -clock -layer metal3

set_cts_config -wire_unit 20 \
  -apply_ndr root_only \
  -root_buf CLKBUF_X3 \
  -buf_list CLKBUF_X3

clock_tree_synthesis

report_cts

set def_file [make_result_file simple_test_out.def]
write_def $def_file
diff_files simple_test_out.defok $def_file
